package com.cube.dp.cor.filter;

import com.cube.dp.cor.context.TransformContext;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author cube.li
 * @date 2021/12/13 21:47
 * <p>
 * 记录短链转换过滤器,用于记录每一次的短链点击事件
 */
@Component
@Slf4j
public class RecordTransformFilter implements TransformFilter {

    @Override
    public void doFilter(TransformContext context) {
        log.debug("记录短链点击行为...");
    }

    @Override
    public int getOrder() {
        return 10;
    }
}
